<template>
  <Menu theme="dark" width="auto">
    <nav-menu-item v-for="item in menu" :menu="item" :key="menu.id"></nav-menu-item>
  </Menu>
</template>
<script type="text/ecmascript-6">
  import NavMenuItem from './navMenuItem.vue'
  export default{
    name: 'nav-menu',
    components: {
      NavMenuItem
    },
    props: ['menu'],
    data () {
      return {}
    }
  }
</script>
<style lang="less">
</style>
